if (typeof sk_banners_35c7935f87a31ea4f7d36fb56a56115e_093f65e080a295f8076b1c5722a46aa2 === 'undefined') { var sk_banners_35c7935f87a31ea4f7d36fb56a56115e_093f65e080a295f8076b1c5722a46aa2 = []; var sk_vendors_35c7935f87a31ea4f7d36fb56a56115e_093f65e080a295f8076b1c5722a46aa2 = []; var line = ''; var banid = ''; var each_index = ''; var seen_vendor = []; var vmap_35c7935f87a31ea4f7d36fb56a56115e_093f65e080a295f8076b1c5722a46aa2 = Array(); ; } line = null seen_vendor.forEach(function(entry) { vmap_35c7935f87a31ea4f7d36fb56a56115e_093f65e080a295f8076b1c5722a46aa2.forEach(function(value,key) { if (entry == value) { each_index = sk_banners_35c7935f87a31ea4f7d36fb56a56115e_093f65e080a295f8076b1c5722a46aa2.indexOf(key); if (each_index > -1) { //alert('foooo'); sk_banners_35c7935f87a31ea4f7d36fb56a56115e_093f65e080a295f8076b1c5722a46aa2.splice(each_index, 1); } } }); }); banid = sk_banners_35c7935f87a31ea4f7d36fb56a56115e_093f65e080a295f8076b1c5722a46aa2.shift(); if (typeof banid !== 'undefined') { seen_vendor.push(vmap_35c7935f87a31ea4f7d36fb56a56115e_093f65e080a295f8076b1c5722a46aa2[banid]); line = line.replace('bid=','bid='+banid+'&'); line = line.replace('bannerid=','bannerid='+banid+'&'); line = line.replace('\'IMPBID\'','\''+banid+'\''); document.writeln(line); } else { }